package com.ruoyi.system.mapper;

import java.util.List;

import com.ruoyi.system.dao.DeliveryOrderDo;
import com.ruoyi.system.domain.DeliveryOrder;

/**
 * 出库单Mapper接口
 * 
 * @author tanshen
 * @date 2023-08-21
 */
public interface DeliveryOrderMapper 
{
    /**
     * 查询出库单
     * 
     * @param id 出库单主键
     * @return 出库单
     */
    public DeliveryOrder selectDeliveryOrderById(Long id);

    /**
     * 查询出库单列表
     * 
     * @param deliveryOrderDo 出库单
     * @return 出库单集合
     */
    public List<DeliveryOrder> selectDeliveryOrderList(DeliveryOrderDo deliveryOrderDo);

    /**
     * 新增出库单
     * 
     * @param deliveryOrder 出库单
     * @return 结果
     */
    public int insertDeliveryOrder(DeliveryOrder deliveryOrder);

    /**
     * 修改出库单
     * 
     * @param deliveryOrder 出库单
     * @return 结果
     */
    public int updateDeliveryOrder(DeliveryOrder deliveryOrder);

    /**
     * 删除出库单
     * 
     * @param id 出库单主键
     * @return 结果
     */
    public int deleteDeliveryOrderById(Long id);

    /**
     * 批量删除出库单
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDeliveryOrderByIds(String[] ids);
}
